﻿using System;
using System.Windows.Media.Imaging;
using Oxage.Common;

namespace Oxage.Rasterizer.Models
{
	public partial class RotationModel : ModelBase
	{
		public string Name
		{
			get
			{
				return this.name;
			}
			set
			{
				if (this.name != value)
				{
					this.name = value;
					OnPropertyChanged("Name");
				}
			}
		}
		private string name;

		public Rotation Rotation
		{
			get
			{
				return this.rotation;
			}
			set
			{
				if (this.rotation != value)
				{
					this.rotation = value;
					OnPropertyChanged("Rotation");
				}
			}
		}
		private Rotation rotation;

		public override string ToString()
		{
			return this.Name;
		}
	}
}
